/*
 * @Author: lirl
 * @Date: 2022-07-18 10:15:53
 * @Description: getters
 */
const getters = {
  draftMenus: state => state.menu.draftMenus,
  allMenus: state => state.menu.allMenus,
  sidebar: state => state.menu.sidebars,
  navbar: state => state.menu.navbars,
  menuRouteLoaded: state => state.menu.menuRouteLoaded,
  menus: state => state.menu.menus,
  exteralNavbar: state => state.menu.exteralNavbar,
  activeNavPathId: state => state.menu.activeNavPathId,
  userId: state => state.user.userId,
  userName: state => state.user.userName,
  userCode: state => state.user.userCode,
  loginName: state => state.user.loginName,
  orgCode: state => state.user.orgCode,
  orgName: state => state.user.orgName,
  identityId: state => state.user.identityId,
  treeId: state => state.user.treeId,
  telphone: state => state.user.telphone,
  downloadTypes: state => state.bizConfig.downloadTypes,
  printTypes: state => state.bizConfig.printTypes
};
export default getters;
